package com.atao.baokede.service.serviceImpl;

import com.atao.baokede.mapper.MerchantMessageMapper;
import com.atao.baokede.pojo.MerchantMessage;
import com.atao.baokede.service.MerchantMessageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MerchantMessageServiceImpl implements MerchantMessageService {

    @Autowired
    private MerchantMessageMapper merchantMessageMapper;
    @Override
    public List<MerchantMessage> findAllById(Long merchantId) {
        return merchantMessageMapper.findAllById(merchantId);
    }
}
